<template>
  <el-dialog :before-close="closeDialog" :visible.sync="dialogVisible" title="权限详情" width="80%">
    <!-- 详情 -->
    <detail-div :auth-id="authId"/>
  </el-dialog>
</template>

<script>
import DetailDiv from "@/views/auth/apply/detailDiv.vue";

export default {
  name: "DetailDialog",
  components: {DetailDiv},
  props: {
    dialogVisible: {type: Boolean, default: false},
    authId: {type: Number, default: null}
  },

  data() {
    return {}
  },

  methods: {
    /**
     * 关闭窗口
     */
    closeDialog() {
      this.$parent.detailDialogVisible = false
    },
  }
}
</script>

<style scoped>

</style>
